package com.example.admin.yuejian21.Bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by Admin on 2017/10/15.
 */

public class Club implements Parcelable {

    /**
     * id : 7
     * club_name : 登山俱乐部
     * province_id : 1
     * province_name : 辽宁省
     * city_id : 1
     * city_name : 大连
     * district_id : 2
     * district_name : 沙河口区
     * longitude : 159
     * latitude : 168
     * introduction :
     * equipsuggest : 登山护具
     * thumb : club/thumb/20160713/thumb_20160713075704_1940800480.jpg
     * open_time : 9：00-16：00
     * club_tel :
     * club_contact :
     * comment_num : 0
     * member_num : 0
     * fans_num : 0
     * userid : 1
     * hits : 821
     * insert_time : 2016-07-1307: 57: 05
     * listorder : 1
     * vstate : 1
     */

    private String id;
    private String club_name;
    private String province_id;
    private String province_name;
    private String city_id;
    private String city_name;
    private String district_id;
    private String district_name;
    private String longitude;
    private String latitude;
    private String introduction;
    private String equipsuggest;
    private String thumb;
    private String open_time;
    private String club_tel;
    private String club_contact;
    private String comment_num;
    private String member_num;
    private String fans_num;
    private String userid;
    private String hits;
    private String insert_time;
    private String listorder;
    private String vstate;
    private List<Course> Clubcourse;

    public List<Course> getClubcourse() {
        return Clubcourse;
    }

    public void setClubcourse(List<Course> clubcourse) {
        Clubcourse = clubcourse;
    }

    protected Club(Parcel in) {
        id = in.readString();
        club_name = in.readString();
        province_id = in.readString();
        province_name = in.readString();
        city_id = in.readString();
        city_name = in.readString();
        district_id = in.readString();
        district_name = in.readString();
        longitude = in.readString();
        latitude = in.readString();
        introduction = in.readString();
        equipsuggest = in.readString();
        thumb = in.readString();
        open_time = in.readString();
        club_tel = in.readString();
        club_contact = in.readString();
        comment_num = in.readString();
        member_num = in.readString();
        fans_num = in.readString();
        userid = in.readString();
        hits = in.readString();
        insert_time = in.readString();
        listorder = in.readString();
        vstate = in.readString();
    }

    public static final Creator<Club> CREATOR = new Creator<Club>() {
        @Override
        public Club createFromParcel(Parcel in) {
            return new Club(in);
        }

        @Override
        public Club[] newArray(int size) {
            return new Club[size];
        }
    };

    public void setId(String id) {
        this.id = id;
    }

    public void setClub_name(String club_name) {
        this.club_name = club_name;
    }

    public void setProvince_id(String province_id) {
        this.province_id = province_id;
    }

    public void setProvince_name(String province_name) {
        this.province_name = province_name;
    }

    public void setCity_id(String city_id) {
        this.city_id = city_id;
    }

    public void setCity_name(String city_name) {
        this.city_name = city_name;
    }

    public void setDistrict_id(String district_id) {
        this.district_id = district_id;
    }

    public void setDistrict_name(String district_name) {
        this.district_name = district_name;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public void setEquipsuggest(String equipsuggest) {
        this.equipsuggest = equipsuggest;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public void setOpen_time(String open_time) {
        this.open_time = open_time;
    }

    public void setClub_tel(String club_tel) {
        this.club_tel = club_tel;
    }

    public void setClub_contact(String club_contact) {
        this.club_contact = club_contact;
    }

    public void setComment_num(String comment_num) {
        this.comment_num = comment_num;
    }

    public void setMember_num(String member_num) {
        this.member_num = member_num;
    }

    public void setFans_num(String fans_num) {
        this.fans_num = fans_num;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public void setHits(String hits) {
        this.hits = hits;
    }

    public void setInsert_time(String insert_time) {
        this.insert_time = insert_time;
    }

    public void setListorder(String listorder) {
        this.listorder = listorder;
    }

    public void setVstate(String vstate) {
        this.vstate = vstate;
    }

    public String getId() {
        return id;
    }

    public String getClub_name() {
        return club_name;
    }

    public String getProvince_id() {
        return province_id;
    }

    public String getProvince_name() {
        return province_name;
    }

    public String getCity_id() {
        return city_id;
    }

    public String getCity_name() {
        return city_name;
    }

    public String getDistrict_id() {
        return district_id;
    }

    public String getDistrict_name() {
        return district_name;
    }

    public String getLongitude() {
        return longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public String getIntroduction() {
        return introduction;
    }

    public String getEquipsuggest() {
        return equipsuggest;
    }

    public String getThumb() {
        return thumb;
    }

    public String getOpen_time() {
        return open_time;
    }

    public String getClub_tel() {
        return club_tel;
    }

    public String getClub_contact() {
        return club_contact;
    }

    public String getComment_num() {
        return comment_num;
    }

    public String getMember_num() {
        return member_num;
    }

    public String getFans_num() {
        return fans_num;
    }

    public String getUserid() {
        return userid;
    }

    public String getHits() {
        return hits;
    }

    public String getInsert_time() {
        return insert_time;
    }

    public String getListorder() {
        return listorder;
    }

    public String getVstate() {
        return vstate;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {

        dest.writeString(id);
        dest.writeString(club_name);
        dest.writeString(province_id);
        dest.writeString(province_name);
        dest.writeString(city_id);
        dest.writeString(city_name);
        dest.writeString(district_id);
        dest.writeString(district_name);
        dest.writeString(longitude);
        dest.writeString(latitude);
        dest.writeString(introduction);
        dest.writeString(equipsuggest);
        dest.writeString(thumb);
        dest.writeString(open_time);
        dest.writeString(club_tel);
        dest.writeString(club_contact);
        dest.writeString(comment_num);
        dest.writeString(member_num);
        dest.writeString(fans_num);
        dest.writeString(userid);
        dest.writeString(hits);
        dest.writeString(insert_time);
        dest.writeString(listorder);
        dest.writeString(vstate);
    }
}
